-
Notifications
You must be signed in to change notification settings - Fork 1.7k
validate-chainspecs: check istanbul eips are in the foundation spec #11305
Conversation
@@ -15,6 +15,15 @@ done | |||
for spec in ethcore/res/ethereum/*.json; do | |||
if ! ./target/release/chainspec "$spec"; then ERR=1; fi | |||
done | |||
|
|||
echo "________Mainnet contains Istanbul EIPs________" | |||
for eip in $(grep --only-matching "eip.*Transition" ethcore/res/ethereum/istanbul_test.json); do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how to deal with re-enable transitions
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add them to the chain spec?
#11228 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I guess that is easiest solution even though they are redundant in this case.
@@ -15,6 +15,15 @@ done | |||
for spec in ethcore/res/ethereum/*.json; do | |||
if ! ./target/release/chainspec "$spec"; then ERR=1; fi | |||
done | |||
|
|||
echo "________Mainnet contains Istanbul EIPs________" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't have to be addressed in this PR but would be good to run this on the other testing network (hard forks) such as Contantinople and so on.
In order to make sure that we are not breaking anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point, but I think since we're running tests with istanbul_test
spec, it should be caught there
👍 |
No description provided.